Contribution org.nuxeo.ecm.user.registration.contentviews.contrib--contentViews
In component org.nuxeo.ecm.user.registration.contentviews.contrib
org.nuxeo.ecm.user.registration.contentviews.contrib
inside nuxeo-platform-user-registration-web-5.8.jar
This contribution is part of XML component Extension Point
Extension point contentViews of component ContentViewService.Contributed Items
XML Source
<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">
<contentView name="user_requests_view">
<coreQueryPageProvider>
<property name="coreSession">#{documentManager}</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'UserRegistration' AND ecm:isCheckedInVersion = 0
</pattern>
<pageSize>20</pageSize>
<sort ascending="false" column="dc:created"/>
</coreQueryPageProvider>
<refresh>
<event>documentChanged</event>
<event>documentChildrenChanged</event>
<event>requestDocumentsChanged</event>
</refresh>
<cacheKey>only_one_cache</cacheKey>
<cacheSize>1</cacheSize>
<resultLayouts>
<layout iconPath="/icons/document_listing_icon.png" name="user_requests_listing_layout" title="document_listing" translateTitle="true"/>
</resultLayouts>
<selectionList>CURRENT_USER_REQUESTS</selectionList>
<actions category="CURRENT_USER_REQUESTS_GLOBAL"/>
</contentView>
<contentView name="local_user_requests_view">
<coreQueryPageProvider>
<property name="coreSession">#{documentManager}</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'UserRegistration' AND docinfo:documentId = ? AND ecm:isCheckedInVersion = 0 AND
ecm:currentLifeCycleState != 'validated'
</pattern>
<parameter>#{navigationContext.currentDocument.id}</parameter>
<pageSize>20</pageSize>
<sort ascending="false" column="dc:created"/>
</coreQueryPageProvider>
<refresh>
<event>documentChanged</event>
<event>documentChildrenChanged</event>
<event>requestDocumentsChanged</event>
</refresh>
<cacheKey>only_one_cache</cacheKey>
<cacheSize>1</cacheSize>
<resultLayouts>
<layout iconPath="/icons/document_listing_icon.png" name="user_requests_listing_layout" title="document_listing" translateTitle="true"/>
</resultLayouts>
<selectionList>CURRENT_USER_REQUESTS</selectionList>
<actions category="CURRENT_USER_REQUESTS_LOCAL"/>
</contentView>
</extension>